package org.sfnelson.sk.client.rpc;

import java.util.Date;
import java.util.List;

import org.sfnelson.sk.client.data.Loot;
import org.sfnelson.sk.client.data.User;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("event")
public interface EventService extends RemoteService {
	List<Event> listen(Date lastEvent);
	List<Event> created(Date lastEvent, String name);
	List<Event> joined(Date lastEvent, User user);
	List<Event> left(Date lastEvent, User user);
	List<Event> receivedLoot(Date lastEvent, User user, Loot loot, String reason);
}